<#assign jodd=JspTaglibs["http://www.springside.org.cn/jodd_form"] />
<div>
    <form id="manage_temperatureHumidity_editform" action="/manage/demo/temperatureHumidity/<#if action=='create'>saveJson<#else>updateJson</#if>.html" method="post">
		<@jodd.form bean="temperatureHumidity" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<tr>
				<th>datastring：</th>
				<td><textarea rows="3" cols="40" placeholder="请输入datastring..." name="datastring" class="easyui-validatebox" data-options="validType:['length[1,255]']"></textarea></td>
			</tr>					
			<tr>
				<th>equipmentid：</th>
				<td><textarea rows="3" cols="40" placeholder="请输入equipmentid..." name="equipmentid" class="easyui-validatebox" data-options="validType:['length[1,255]']"></textarea></td>
			</tr>					
			<tr>
				<th>humidity：</th>
				<td><input type="text" name="humidity" placeholder="请输入humidity..." class="easyui-validatebox" data-options="validType:['length[1,19]']"/></td>
			</tr>					
			<tr>
				<th>temperature：</th>
				<td><input type="text" name="temperature" placeholder="请输入temperature..." class="easyui-validatebox" data-options="validType:['length[1,19]']"/></td>
			</tr>					
			<tr>
				<th>voltage：</th>
				<td><input type="text" name="voltage" placeholder="请输入voltage..." class="easyui-validatebox" data-options="validType:['length[1,19]']"/></td>
			</tr>					
			<tr>
				<th>alarm_flag：</th>
				<td><input type="text" name="alarmFlag" placeholder="请输入alarm_flag..." class="easyui-validatebox" data-options="validType:['length[1,1]'],required:true"/></td>
			</tr>					
			<tr>
				<th>voltage_state：</th>
				<td><input type="text" name="voltageState" placeholder="请输入voltage_state..." class="easyui-validatebox" data-options="validType:['length[1,19]']"/></td>
			</tr>					
        </table>
      </@jodd.form>
    </form>
</div>
